<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title> 盐类管理</title>
		<link charset="utf-8" rel="stylesheet" href="__PUBLIC__/static/asset/bootstrap/3.3.6/css/bootstrap.min.css">
	</head>
	<body>
		<a href="{:url('manage/salt/pre_add')}" class="btn btn-primary">新增</a> <a href="{:url('manage/index/index')}" class="btn btn-primary">返回首页</a>
		<table class="table table-bordered">
			<tr>
				<th>操作</th>
				<th>编号</th>
				<th>名称</th>
				<th>英文名称</th>
				<th>酸常量</th>
				<th>碱常量</th>
			</tr>
		{foreach name="salts" item="salt"}
			<tr>
				<td>
					<a href="{:url('manage/salt/pre_edit')}?id={$salt['id']}">修改</a>
					<a href="{:url('manage/salt/delete')}?id={$salt['id']}">删除</a>
				</td>
				<td>{$salt.id}</td>
				<td>{$salt.name}</td>
				<td>{$salt.english_name}</td>
				<td>{$salt.acid}</td>
				<td>{$salt.base}</td>
			</tr>
		{/foreach}
		</table>
	</body>
</html>
